add bootstrap logic and organize modularity application structure