Move logging code from main.go to logging.go
Change "Ok" string to "OK" (proper English)
Move flag parsing to separate function