parse implementation

Added App class
Implemented parse functionality
made some other minor edits in comments and syntax