added controller generator and prompt clean up