I get the coding in that you basically provide an \"object SomeClass\" and a \"class SomeClass\" and the companion class is the class declaration and the object is a singleton.
Yes, it is basically a way of providing class methods when used as a companion object.