Deleted pages

Deleted many pages and changed a lot of the links. Added new header
size and a bed counter and bed counter procedure to DB.