refactored bank, currency. started server work.