moved pages directory, added load properties from controller