Cleaned up the UI with bootstrap and added unit tests.