Version 3.0: Complete version working on local machine with Sqlite