added empty array if dao params are not specified
added method for retrieving class name without namespace string