added invoice statuses, documentation to several classes