library and main project