Moved some commands around

Moved canSeeSky(x,y) to the main class to be used as a static command.
Also renamed Block.canSeeSky() to avoid naming conflicts.