Restructure dao and routes files into app folder