Added missing documentation. Also tried to fix some files that didnt make any sense