restructured app in to directories to make it more modular like