Debugging

Point A: To access Erlang library use :module.function() format.
Point B: Remember to close everything.