added bootstrap and refactored code for homepage and create