Modified loading of external libs & improved comments