replication is working
simplify web/api + db