Refactored parts of the project; moved non-bower components to lib; added initial directives for mobile facet tree