Finished rough code draft for independent project