Add multiple files (one per table) code generation

TODO : write a proper (and relevant) junit test.