added force build flag

Rebuild image even if it already exists.
refactored utils file and added verbose flag