Made the controller skinny

Added a constructor to the Click entity that initializes the
date and takes the ip as argument.