Application Structure in php.