added somesome error handling
added some basic styling
Added collision checking