refactored handManager
removed old files