Use Firebase and define Post factory