Cleared up code docs, added param docs to model