Added main coilcube app

Need to fix the build warnings at some point.