assignment and controller interfaces

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
added implementation and test for ControllerDao

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>