version 1.02: added changing of status
version 1.02: smart pointers used, added boost library