Basic functionality and documentation of pagecomp.py is ready