Small efficiancy optimizations.
Added branching model for this repo.