Added preloading of music and sounds to be played. Added simple implementation of input as well. Separated Tileset logic from preloader.