Almost there...

Implemented parsing functionality and application logic.