Adds form support for selectable inputs
Added basic support for inputs
First try at refactoring forms (work in progress)