Initial implementation of constructors.
Add some tests.
Implement destructors.