added preparation options to parameters of the prepare; added method to retrieve layerhandle if its a direct name of a via-catalog name