started to make core independent.
added source listing to 3rdparty