reduce redundant code and added missing css files
Merge pull request #7 from chatooz/arnav

reduce redundant code