Class diagram to implementation structure

This is very basic implementation.