setup for application changed:
-- nft_main is responsible for talking to the java side of the code
-- nft_application contains the actual program logic and state
-- detection does the feature detection
--tracking will do the tracking