kmt php application framework