chore(cleanup): Cleaned up core files.

Conflicts:
 - engine/lib/session.php