General bugfixes & const correctness
Added initial (But not using) arguments parser to replace main.cpp arg functions