Moved some page specific functions and libraries.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>