models created and simple test in index.php
added logs