Fixed some issues with setup. still several issues, particularly with the database initialization. wrong commands being used