added factory, fixed readme