Added core firebase and structured database