ignore build directory
move into multiple files and add other api