seperate web from code