move plink functions to module
move modules to lib directory