Refactor LocoTerm

- Converted LocoTerm class and other methods using locoterm arguments as separate classes. 
- Documentation is not changed yet.
These comments should be at right above of `class Item`, line 10.