Figured out preloading for now. Broke stuff up into separate files