Removed a lot of boilerplate by using inline vector construction via vec, when calling branch_children. Removed some leftover code that was commented out. Updated CMakeLists.txt file and some other minor cleanups.