initial version of firebase