updated composer def and package for autoloading and require-dev