Minor cleanup

+ x2D update
+ Added texture padding
+ 'enum Layer' moved outside 'namespace global'
+ Moved terrain classes to classes/terrain/*
+ Added comments in player.as