added first memory management version + text class stub