changed deployment script and console to work nicely togheter
changed locale filename in app.php; added BaseRepository class