Form refactor, remove dependencies that only let form to be generated from config files.