removed the mac os x specific resource path and changed file main to a normal C++ file.