Updates readme and improves API