Cache and Database Systems

Cache and database systems are partially completed. There are some todos
and will need some developments.