added dll api header
added simple dll loading
implemented plugin category memory management