Added logging capacity.

Engine classes use logging when needed.
Updated .gitignore to exclude log file.
Fixed InputManager singleton structure.