introduced rest call for application information
introduced some minor changes and a mysql connection