Library for writing cross-platform firebase business logic