FIX #435 Adding loader and control functions

@kardapoltsev  can you give this a try? I'm currently testing on centos