Added support for view metadata
Added startup hooks