Refactor LocoTerm

- Converted LocoTerm class and other methods using locoterm arguments as separate classes. 
- Documentation is not changed yet.
`menu_helper` won't take argument `locoterm`.