refactored pdbmanip
extract chains