Added invoice class and documentation.