Consolidated to one file, added comments, added 'input' type