major changes, many command fixes, first working version, license changed to GPL2