Add Database controller

Add Database controller