adding Nn class
adding properties file
connecting to DB