Add Database and Auth module

Symmetric cipher and DB works.