Issue 317 core dependencies

- Restructure some module layout so core.sdk dependencies are not stupidly big anymore.
- Remove some useless and/or obsolete files