Creating views for Company and db entries