Implemented Player.isOnline function.
Removed unused imports.
Added timer library.