added layout template and homepage view file