fix creating new branch + improv code + add main config file