Feature/smart page identification

Resolved #48