only sleep when sleep interval > 0
move cast_int into base class
add monitoring for nginx status
add -v (--version) flag for cli script
bump version