adding application and routing