added basic view and main page