Improved parsing arguments
Cleaning database command ready
Renamed main file to bashtask
database connection wrapped in a class
Cleaning code
Added datetime in each process
Task execution separated