Added compiler unit test that runs an example; updated example code.
Cleaned up Scanner spec
Removed constants file
Cleanup and refactoring