Fixed PSR compatibility. Framework namespace added. Cookies logic removed.