Add main and Edit localtion Library hybernate