Updated documentation and added skeleton code.