renaming cmd module to cli and added spring dependency to core.