refactors and css changes.