Added new java class for my part of the code
Updated Matt's code for integration with main app