Updated Routes for Dynamic paths

Deleted Application class since it’s not used anywhere.