Renamed vars
Cleaned up some code
Fixed #1 Added readme and copyright