Added beginning of dev mode flag. Added collision detection that currently very much does not work.