Added offline functionalities, as well as select2