Deleted unneeded scripts.
Solved the error regarding custom HttpModules being inherited into sub applications.