Fixed coding style in containers (moved method implementations out of class declaration)
Cleaned up headers.
Core is now a normal Module, plus more header cleanup