change initial size
remove useless functions
add pause and resume options
add pause and resume action and logger