adding application.serve()
enabling customizable routing module