Git ignore updated. Code formatting along with a few minor adjustments (refactor)