First commit with energy sources division into classes, huge database changes, test table.