Added pages and Apyrum header, several small fixes