refactored websites and added pages model