PHP application/library skeleton