FIX #435 Adding loader and control functions

@kardapoltsev  can you give this a try? I'm currently testing on centos.

The `runuser` command doesn't work for the simple test application oO