Formatting and astyle.cfg

Added astyle.cfg back with checks to make sure it does not get
overwritten.
Also all code SHOULD be formatted correctly now