basic logic framework begun on server: no commit functionality yet