Updated table.merge and aded debug info
Moved game object functions in a separate file + fixes