add GUI actions by new helper functions
Squashed commit of the following:

commit b14aa8e9c2c590982840290cc2a9c6bab97d7fb2
Author: Dongxu Li <dongxuli2011@gmail.com>
Date:   Fri Nov 7 09:37:59 2014 -0500

    file cleanup

commit 29d29432e4abe488c7e6639a34d2fb8468a2acb0
Author: Dongxu Li <dongxuli2011@gmail.com>
Date:   Thu Nov 6 14:23:10 2014 -0500

    add GUI actions by initializer lists

commit 1bef1d0692bf2731f4e80ae30310cc7dd57f1dbf
Author: Dongxu Li <dongxuli2011@gmail.com>
Date:   Thu Nov 6 11:49:43 2014 -0500

    GUI actions using new helper functions

commit af7131d71e850dee4225acea75c403a8cef945d6
Author: Dongxu Li <dongxuli2011@gmail.com>
Date:   Thu Nov 6 10:29:23 2014 -0500

    actionfactory, added GUI helper functions