added core lib to demo project