Added some refactorings, enabled space to fire a bullet