Divide into submodules

The dependent modules are cache, database and orm.
The system and these modules make as submodule.
The other modules are not necessary at this time, thus omitted completely from code.