I split the input script from the objects representing database entries. Also I fixed initialization of member variables for the objects and transferred the logic to the script.
Before merging you should really test if everything is working correctly (since we don't have unit tests yet). You can then merge yourself if you wish.
I split the input script from the objects representing database entries. Also I fixed initialization of member variables for the objects and transferred the logic to the script.