First Prototype Version: Fixed bugs and implemented localswitch functionality