use INT(4) columns for timestamp columns, improve setup