Source issue fixes

Fixing license headers and removing unused/unnecessary dependencies and components from sources
Core Test project is removed from build as it is currently moved for the new java API
Testing will stay on the x side of the projects as we need a separate distribution mechanism for that