added config and routes