Methods updated

Implemented a sparse signal handling, better implementation is required
Updated setFolder method (), the initial path is the home directory
However, better implementation is required