Cleanup. Split the code into various files.