Minor improvements and bug fixes.

+Fixed enemy AI bug.
+Reorganized structure of the code.
+Got rid of unused code.