Implement basic argument parsing

Allows to start worker or master with default config path.