fix nil bug
general fixes
create basic new issue controller
refactor