Make Main class simpler, just the bindings
Make Main class simpler, just the bindings

- Move key checking from method to an external function
- add get_binding function to have same interface as doc/lib/template.rb::Namespace

cse-sim/cse,cse-sim/cse