Removing unnecessary imports.
Adding in very basic select() support.