bug fix for accounts api controller
complete deals api controller
add other generated files
add other files missing from repo