Use the classloader http://doc.owncloud.org/server/5.0/developer_manual/app/classloader.html