Added test text database and simple main function