Modifications on Apipart

Most important to note, that before it tried to obtain a element from a Map<Class, String> collection via a String. I applied Class.forName on it to obtain the real element. May fix some unintentional behavior.