name of tables changed to lowercase underscore
small style fixes