some refacts, api names and location channges, writeConceptSpace added