Added some commenting to optimizer
Added commenting to dealer module