now using the library without symfony dependencies