finish router interface design v1

so web front and android can use these interface to start development