new Type type
fixed duplicate buttons bug
get more params out of config file
support for Type type and some logging added