If you want to use your MacBook with its lid closed, try InsomniaT. Be aware the you need to install a kernel extension and activate it trough the terminal.