Imports organized.
Moved out core classes to flow-core. Added dependency on core.
Removed unneeded dependencies.