Added unit tests and new configuration params. Added composer supporting.