reorganized source and resources like templates