Adding Documentation

Added documentation where missing
Modified access modifiers
Enforced a line length of 100
Added rules to main documentation