Cleaned up /commented code
added error handling
Incermented to next major version