Rewrote app in node + Firebase