Initial draft for adding Route model and APIs

Remove unused code.