Update main

Add usage on mainTerm.cpp