Application: Move process input to individual function