Spain to uncover secrets of the universe with huge telescope