Moved shared parts into distribution directory.