Reading data from table
Added template method of getting lua values
works properly