Re-Added the system class

Added redirect functionality to this class to handle redirects when we have a previous URL to go to.