unified code style
implemented beam as separate entity
implemented basic collision between beams and enemies