adding the logic for the starter app

Take these changes and compile on your machine