Some touches to the main class

Added a FPS counter and some methods has been rewritten based
on some ideas from SFML Game Programing book.