Remake of JEngine, same/similar features, neater code and with documentation