Cleaned out some unnecessary parts.
Adapted shared network to flat network