set up wp framework