Split calculator into multiple files