added basic importing functionality.