* Created a class Branches for actions related to branches
* Simplified the code related to creating a new topic