Cleaned up some code and added a version checker
Removed unused file