added a build process to core and structured it in order to be considered as a static library for further use in ios/android build process