Added more error checking
Version 0.0.1 released