Renamed src folder to lib. Added test for core-object using require.