created companies model and index page