Core for PHP NFW aplication