Move Parsing functions into a different file

Cleans up main.js considerably.
Merge branch 'master' of https://github.com/sambol/node-libOpenttdAdmin