server logic almost complete
add command format