Separated methods into compile and run phase
Merge pull request #82 from Obvious/kyle-code-reorg

Separated methods into compile and run phase