rewrite for barrel select component
Merge pull request #46 from dmpro2014/register_directory

rewrite for barrel select component