If you already have the accountant program, then it must run on some platform already, and be using a set of libraries.

There is a good chance you will need to re-write and UI aspects for each...