A Java app to connect mongodb database to sdn project