refactore input initialisation into init function
actually export input init function
completely get rid of legacy rendering