More collisions and Tiled editor

So I was wanting to make my own map editor, but I decided that Tiled
will be good opinion atleast becouse of my lazyness. Also restructured
some code to have clearer namespaces (mainly in CookieLib). Started
working on some more collisions (pixel based and so).