Created new market file for easier javafx integration

Basically removed all UI stuff from the market logic so that it will run
with javafx