Moved primary components of the page structure. Added 404 management.