add resful routes
add basic funtionality