A generic php framework kernel