first setup at generating pages through php