Refactor LocoTerm

- Converted LocoTerm class and other methods using locoterm arguments as separate classes. 
- Documentation is not changed yet.
Should be removed because `process` doesn't take arguments anymore.