Initial version, super simple, heavily inspired by the cartalyst extensions package.