Removed main code from root directory.