improved performance

double quotes was replaced by single quotes where it's possible
initiate CoreException class

this class will be expanded in the future
cache interface implementation + changes in the parameters