cleanup stripping trailing whitespaces function
add clipboard, add function for initializing directories