changet style of models call, changed helpers call [__dirname now global]