Refactor with specific 'web' directory