Added BSD License, cleaned up errors by removing them from compiler
settings ;) added action for search button,