Added some dependencies for the option parser. Damn procrastination feels good!
Handels diagnostics. Needs refactoring though.