Particles, collisions and tilesystem

Improved tilesystem, various fixes, added a particle system and
collisions