add magic method call to set attributes on elements
add to README
add file input element creator function, refactor element factory class, update readme