Added gameplay features

Added the majority of the intended gameplay features. Only things left
are scrolling background and HUD, among general tidying up.