Remove temporary file. Fix comments. Added some parameters types. Add dbal dependency