cleanup in controller test
add licences to exception classes
add licence to sources
add licence to tests