updated base uri and added output format
huge changes in table names and attributes

all names is now lower case. lower case attributes.
changed all uid ot tablename_uid