Advanced molecular dynamics techniques for the simulation of nano-scale mechanical and electrochemical properties