updating public layout and functionality
updated twitter bootstrap
refactoring js api functionality