Moved pageHandler and staticFileHandler to atoms