First check in. apfy() at this stage scans all input and output components of the app and binds them with their respective html elements.