first step to make independent firebase backend module.