added netlib
fixed intdentions
added api class