added productFile and transactionFile for testing purposes
Moved more things around, and changed some code for RMI