#396 Moved getting latest revision to method
#396 Fixed put connection test and switched back to using sqlite
#396 Added todo's