Make it Build, Clear Warnings,Modularize ,UnitTests

Trying to Modularize , break functionality in smoller more testable u… …
…nits

This way we test the parts and  continue building over rock solid foundations
--Started Unit Test too
-Bonus , It Builds :)
-Bonus , No Warnings
-Didnt turned on Code Analysis yet