Splitting Account Logic to Separate File