add database to complex_methodos
Merge pull request #7 from vatslav/master

add database to complex_methodos