Added optional arguments to initialization method
Added support for LIMIT in WHERE clause