Added more tests for DrawingManager
Made new project (Core) and moved a file into it

I amplanning to put all the testable stuff in Core, and leave the
bootstrapping stuff (i.e. the stuff we cannot unit test) in the main
project.