Building the company hierarchy is complete

There are bugs, but the functionality is almost there