moved back to native go commandline parsing, add cpuprofiling option