Added MaxRow param to table generation

moved files
Added custom format support