Added patterns for IntelliJ resources
Added code for connecting to a (MySQL) database
Improved readme