implement thread

paddle is moving
implement sizeprovider