Setting Up the Motion Module