fixed unclosed connection when opening project
changed package names, updated imports