Firebase fork

Add basic firebase functionality