Outsource states into own file
Add string state jump helper
Replace strcmp() "switchcase" with jump helper function in string cb