removed home view markup to function
implemented templating systemg