Added Documentation, fixed some indentation