Added factory methods
Made redirect() static
Added json() and xml() static methods
Added static download() methods to force file downloads
Improved other methods