Correct table id generator
Initial commit
Added position enum