Various fix. including php short open tag, index.php router, and
timeline api