remove unused main function

I removed the main function, as it did nothing.