Refactored out main into a separate file for all benchmarks.

All benchmarks now have no main function, instead main is in src/main.c