Converting source code to amalgamated database design [WIP]