Change lib to use composer and PSR-0 compatible