updated main layout. Added licensing text to controllers