Refactoring of the code
Added documentation
Added a little A.I. to the ennemy