Refactored code to use "sub" syntax, which is cleaner.
Merge pull request #77 from ZuseApp/project-refactor

Refactored code to use "sub" syntax, which is cleaner.