moved main executable, extracted AlgorithmPainter.java and Config.java to encapsulate more swing-independet stuff