Adding and improving function

Added preloading images
Improving mouvement items with keyboard