added bootstrap and MainPage, bug fixes, units, ruler, slider