Refactored Parser, Scope, and Workspace inside a closure. Added a travis config file.
Added some tests