Added persisting virtual channel calculation to db and refactored options definition