coding lib+exe. re-organized files.