Implemented compile, dump, insert and match operations on the routes tree.