added value viewer
fixed some minor bugs with the code table
update makefiles