removes getCategoryStructure()

This was a one-time call so the function is moved to the constructor to
prevent people from thinking they should use the function