cleaned up code and extra files