extract directives
can save a route into the database
save and load routes