changed copyrights and changed to sys.exit()
added entry point for packaging