Added basic functions to API, Genes4Target and Target4Gene. Private methods in TdguiProxy moved to a utility class