Initial implementation of schema discovery with a list of TODOs. Including a basic unit test that need to handle more cases.