move applicaiton code to a seperate folder