Converts o5m to sqlite database