templates properly working, menu building done