Correctly load routes and max_age from config. Fixes #35