Cleanup, fixed deprecation warnings, update Firebase calls