removed useless dependencies
added `options` to configure the library
`value` option for `form` now is at the top level
refactoring