start implementing REST
add sql