improved readme and added factory to builder