Cleaned up the directory.
Added: Handlers folder
Added: ErrorHandlers folder.
changed some referances to var