fix bug with trailing commas/empty final cells
add module entry point. doh!