Port to psr-0, added encoding to PSQL, composer support