Add source files

Add the source files for the trigger app.