add .gitignore
add lib base and insert method for devices