restructured packages and introduced a commandhandler package.